<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>约健</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
    <link rel="shortcut icon" href="__PUBLIC__/admin/assets/ico/favicon.html">
    <link href="__PUBLIC__/admin/assets/css/bootstrap.css" rel="stylesheet">
    <link href="__PUBLIC__/admin/assets/css/theme.css" rel="stylesheet">
    <link href="__PUBLIC__/admin/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="__PUBLIC__/admin/assets/css/alertify.css" rel="stylesheet">
    <link rel="Favicon Icon" href="favicon.ico">
    <SCRIPT type="text/javascript" src="__PUBLIC__/ueditor143/ueditor.config.js"></SCRIPT>
<SCRIPT type="text/javascript" src="__PUBLIC__/ueditor143/ueditor.all.min.js"></SCRIPT>
  </head>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="__PUBLIC__/admin/assets/img/logo.png" alt="Realm Admin Template">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">
          
            <ul class="pull-right">  
              <li><a href="login.html"><i class="icon-off"></i> </a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="login.html"><i class="icon-off"></i></a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">

      <!-- Side menu -->  
      <div class="sidebar-nav nav-collapse collapse">
        <div class="user_side clearfix">
          <img src="__PUBLIC__/admin/assets/img/logo.jpg" alt="Odinn god of Thunder">
          <h5>管理员</h5>
             
        </div>
        <div class="accordion" id="accordion2">
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6" href="{:U('club/clublist')}"><i class="icon-bullhorn"></i> <span>俱乐部管理</span></a>
            </div>
          </div> 
           <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6" href="{:U('course/courselist')}"><i class="icon-bullhorn"></i> <span>课程管理</span></a>
            </div>
          </div> 
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6" href="{:U('video/videolist')}"><i class="icon-bullhorn"></i> <span>视频管理</span></a>
            </div>
          </div> 
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F5C294 active" href="{:U('match/matchlist')}"><i class="icon-user"></i> <span>比赛管理</span></a>
            </div>
          </div>   
           <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6" href="{:U('activity/activitylist')}"><i class="icon-bullhorn"></i> <span>活动管理</span></a>
            </div>
          </div> 
           <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6" href="{:U('enroll/enrolllist')}"><i class="icon-bullhorn"></i> <span>报名管理</span></a>
            </div>
          </div> 
           <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6" href="{:U('coach/coachlist')}"><i class="icon-bullhorn"></i> <span>教练管理</span></a>
            </div>
          </div>    
           <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6" href="{:U('user/userlist')}"><i class="icon-bullhorn"></i> <span>用户管理</span></a>
            </div>
          </div> 
        </div>
      </div>
      <!-- /Side menu -->

      <!-- Main window -->
      <div class="main_container" id="users_page">

        <div class="row-fluid">
      
        </div> <!-- /row-fluid -->


        <div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>Users</h5>
              <div class="widget-buttons">
                  <a href="#" data-title="添加报名类型" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="notes" class="table table-striped table-bordered dataTable">
                <thead>
                  <tr>
                    <th>报名编号</th>
                    <th>报名人数</th>
                    <th>开业时间</th>
                  </tr>
                </thead>
                <tbody>
                <volist name="enrollList" id="vo" key="index">
                  <tr>
                     <td>{$index}</td>
                    <td>{$vo.number}</td>
                    <td>{$vo.time}</td>
                    <td>
                      <div class="btn-group">
                        <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                        Action
                          <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu pull-right">
                        <li><a href="{:U('updateenroll', array('id' => $vo['id']))}"><i class="icon-edit"></i> Update</a></li>
                        <li><a href="{:U('delenroll', array('id' => $vo['id']))}"><i class="icon-trash"></i> Delete</a></li>
                        </ul>
                      </div>
                    </td>
                  </tr>
                 </volist>
                </tbody>
              </table>
            </div> <!-- /widget-body -->
          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->

      </div>
      <!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->

    <!-- Example Modal -->
    <div id="example_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">添加报名信息</h3>
      </div>
      <div class="modal-body">
        <p>
<form method="post" action="{:U('enroll/doAddenroll')}" enctype="multipart/form-data">
报名人数：<input type="text" name="number"><br>
报名时间：<input type="date" name="time"><br>
<input type="submit" value="添加">
</form>
        </p>
      </div>
      <div class="modal-footer">
        <!-- <button class="btn" data-dismiss="modal" aria-hidden="true">
        关闭</button>
        <button class="btn btn-primary">保存</button> -->
      </div>
    </div>  

    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='__PUBLIC__/admin/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='__PUBLIC__/admin/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='__PUBLIC__/admin/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='__PUBLIC__/admin/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="__PUBLIC__/admin/assets/js/realm.js"></script>
  </body>
</html>
